﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace WebsitSetup
{
    public partial class SetupWizard : Form
    {
        public SetupWizard()
        {
            InitializeComponent();
            this.btnLast.Enabled = false;
            this.lblState.Text = "安装环境: \n\r\n\r.Net FrameWork 4.0以上\n\rIIS服务器\n\r神通数据库\n\rWindows Server 2003,2008，XP 服务器";
            this.lblCopyRight.Text = "版权所有(c):神舟通用,Barry 2012年5月1日";
        }

        private void btnNext_Click(object sender, EventArgs e)
        {
            SetServer setServer = new SetServer(this);
            setServer.Show();
            this.Hide();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("您确定要退出吗？", "提示", MessageBoxButtons.YesNo) == DialogResult.Yes)
            {
                Application.Exit();
            }
        }

        private void btnHelp_Click(object sender, EventArgs e)
        {
            ProcessStartInfo startInfo = new ProcessStartInfo("help.html");
            Process.Start(startInfo);
        }
    }
}
